package com.lanou.bean;

import java.util.Date;

public class UserInfo {
    private Integer id;

    private Integer userId;

    private String nickname;

    private Date birthday;

    private String sign;

    private String avatar;

    public UserInfo(Integer id, Integer userId, String nickname, Date birthday, String sign, String avatar) {
        this.id = id;
        this.userId = userId;
        this.nickname = nickname;
        this.birthday = birthday;
        this.sign = sign;
        this.avatar = avatar;
    }

    public UserInfo() {
        super();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname == null ? null : nickname.trim();
    }

    public Date getBirthday() {
        return birthday;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    public String getSign() {
        return sign;
    }

    public void setSign(String sign) {
        this.sign = sign == null ? null : sign.trim();
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar == null ? null : avatar.trim();
    }
}